a,
article,
aside,
b,
body,
button,
dd,
div,
dl,
dt,
figcaption,
figure,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
header,
i,
input,
li,
nav,
p,
section,
select,
span,
textarea,
ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  text-decoration: none;
  border: none;
  color: #404040;
  font-weight: normal;
  font-family: "PingFangSC-Regular";
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  &:hover {
    outline: none;
  }
}

/*链接点击时的样式*/
a {
  webkit-tap-highlight-color: #FFFBEE !important;
}

.pressStyle {
  background: #FFFBEE;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0;
  height: 0;
  background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

input[type="button"],
input[type="reset"],
input[type="search"],
input[type="submit"] {
  -webkit-appearance: none;
}

textarea {
  -webkit-appearance: none;
}

.clear:after {
  content: '';
  display: block;
  clear: both;
}

.clear {
  zoom: 1;
}

.margin {
  margin: 0 auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body,
html {
  height: 100%;
  width: 100%;
}

//html {
//	font-size: 62.5%;
//}

.block-img {
  display: block;
  width: 100%;
}

.toast-style {
  color: #fff;
}

//媒体查询
@media only screen and (max-width: 1080px),
only screen and (max-device-width: 1080px) {
  html,
  body {
    font-size: 168.75px;
  }
}

@media only screen and (max-width: 1024px),
only screen and (max-device-width: 1024px) {
  html,
  body {
    font-size: 160px;
  }
}

@media only screen and (max-width: 960px),
only screen and (max-device-width: 960px) {
  html,
  body {
    font-size: 150px;
  }
}

@media only screen and (max-width: 800px),
only screen and (max-device-width: 800px) {
  html,
  body {
    font-size: 125px;
  }
}

@media only screen and (max-width: 768px),
only screen and (max-device-width: 768px) {
  html,
  body {
    font-size: 120px;
  }
}

@media only screen and (max-width: 720px),
only screen and (max-device-width: 720px) {
  html,
  body {
    font-size: 112.5px;
  }
}

@media only screen and (max-width: 640px),
only screen and (max-device-width: 640px) {
  html,
  body {
    font-size: 100px;
  }
}

@media only screen and (max-width: 600px),
only screen and (max-device-width: 600px) {
  html,
  body {
    font-size: 93.75px;
  }
}

@media only screen and (max-width: 540px),
only screen and (max-device-width: 540px) {
  html,
  body {
    font-size: 84.375px;
  }
}

@media only screen and (max-width: 480px),
only screen and (max-device-width: 480px) {
  html,
  body {
    font-size: 75px;
  }
}

@media only screen and (max-width: 414px),
only screen and (max-device-width: 414px) {
  html,
  body {
    font-size: 64.6875px;
  }
}

@media only screen and (max-width: 400px),
only screen and (max-device-width: 400px) {
  html,
  body {
    font-size: 62.5px;
  }
}

@media only screen and (max-width: 375px),
only screen and (max-device-width: 375px) {
  html,
  body {
    font-size: 58.59375px;
  }
}

@media only screen and (max-width: 360px),
only screen and (max-device-width: 360px) {
  html,
  body {
    font-size: 56.25px;
  }
}

@media only screen and (max-width: 320px),
only screen and (max-device-width: 320px) {
  html,
  body {
    font-size: 50px;
  }
}

@media only screen and (max-width: 240px),
only screen and (max-device-width: 240px) {
  html,
  body {
    font-size: 37.5px;
  }
}
